import os
import sqlite3
from time import sleep
import sys

class DB:
    _conn = None
    _cursor = None
    def __init__(self, dbname=None):
        self._connect();
        pass

    def connect(self):
        self._conn = sqlite3.connect(os.getcwd() + '/ha.db')
        return

    def execute(self, sqltext=None):
        pass

    def executemany(self, sqltext=None, substitutes=None):
        pass